package com.zengqingfa.designpattern.create.factory.method;

/**
 *
 * @fileName: ConcreteProduct2
 * @author: zengqf3
 * @date: 2021-4-21 16:09
 * @description:
 */
public class ConcreteProduct2 implements Product{
    @Override
    public String getName() {
        return "ConcreteProduct2";
    }


    @Override
    public void produce() {
        System.out.println("ConcreteProduct2");
    }
}
